<footer id="index">
    <div class="panel-heading h3">&nbsp;</div>
    <a href="{:U('ClientServer/personageCenter')}" class="navbar-fixed-bottom bg-info text-center h3 panel-heading m-t-lg">
        <i class="fa fa-home"></i>
    </a>
</footer>
<footer id="foots" style="display:none;">
    <div class="panel-heading h3">&nbsp;</div>
    <div class="navbar-fixed-bottom bg-info text-center panel-heading h4">
        <div class="col-xs-6" style="border-right:1px solid #fff;">
            <a href="tel:13720421730"><i class="fa fa-phone"></i> 客服电话</a>
        </div>
        <div class="col-xs-6">
            <a class="confirm ajax-get" href="{:U('Wap/clientGet?rid='.$_GET[rid])}" id="tjss"><i class="fa fa-check-circle-o"></i> 确认提交</a>
        </div>
    </div>
</footer>

</body>
</html>
<script src="__PUBLIC__/Static/js/jquery-1.11.3.min.js"></script>
<script src="__PUBLIC__/Static/js/file-input/bootstrap-filestyle.min.js"></script>
<script src="__PUBLIC__/Mobile/js/Validform_v5.3.2_min.js"></script>
<script src="__PUBLIC__/Mobile/js/common.js"></script>
<script>

    $(function(){
        $(".registerform").Validform({
            tiptype:2,
        });
        var imgW=$('.thumb-md img').width();
        $('.thumb-md img').css('height',imgW);


    })


    //<!--以下为上传图片并预览的js-->
    $("#file0").change(function(){
        var objUrl = getObjectURL(this.files[0]) ;
        console.log("objUrl = "+objUrl) ;
        if (objUrl) {
            $("#img0").attr("src", objUrl) ;
        }
    }) ;
    //建立一個可存取到該file的url
    function getObjectURL(file) {
        var url = null ;
        if (window.createObjectURL!=undefined) { // basic
            url = window.createObjectURL(file) ;
        } else if (window.URL!=undefined) { // mozilla(firefox)
            url = window.URL.createObjectURL(file) ;
        } else if (window.webkitURL!=undefined) { // webkit or chrome
            url = window.webkitURL.createObjectURL(file) ;
        }
        return url ;
    }
</script>